package br.com.hbt.general;

public class Outer extends Thread {

	public void run() {
		System.out.print("1");
	}

	static class Inner extends Outer {
		public void run() {
			System.out.print("2");
		}
	}

	public static void main(String args[]) {

		Outer ob1 = new Outer();
		Outer ob2 = new Outer.Inner();
		Outer.Inner ob3 = new Outer.Inner();

		ob1.start();
		ob2.start();
		ob3.start();

	}

}
